package com.itcms.core.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

/**
 * Category
 * 
 * @author chenjianjun
 * 
 */
@Entity
@Table(name = "cms_category")
public class Category implements java.io.Serializable {
	private Integer cateId;
	private Integer siteId;
	private String cateName;
	private String cateCode;
	private Integer cateParentcateid;
	private Integer cateIndex;
	private Date catePubdate;
	private Date cateExpdate;
	private Integer cateIndextemplateid;
	private Integer cateContenttemplateid;
	private Integer cateListtemplateid;
	private Long cateWorkflowid;
	private String cateRemarks;
	private String cateDisplayname;
	private Integer cateImgid;
	private String cateType;
	private String cateIsshare;
	private Integer catePrefiximgid;
	private Integer cateSufiximgid;
	private Integer cateLogoid;
	private String cateIsredir;
	private String cateRedirurl;
	private String cateIscreatedirbydate;
	private String cateIscontainsubcate;
	private String cateStoredaysforinfo;
	private String cateRelatedcatelist;
	private String cateStatus;
	private String cateIsusedinmap;
	private String cateUniteliborgatherlib;
	private String cateInfoexpproperties;
	private String cateIsinsitemap;
	private String cateIssupportrss;
	private Integer oriCateid;
	private String cateIslock;
	private String isautoconverge;
	private String isonlyshowforminfo;

	public Category() {
	}

	public Category(Integer cateId, Integer siteId, String cateName,
			String cateCode, Integer cateParentcateid, Integer cateIndex,
			String cateDisplayname, String cateType, String cateIsshare,
			String cateIsredir, String cateIscreatedirbydate,
			String cateIscontainsubcate, String cateStatus) {
		this.cateId = cateId;
		this.siteId = siteId;
		this.cateName = cateName;
		this.cateCode = cateCode;
		this.cateParentcateid = cateParentcateid;
		this.cateIndex = cateIndex;
		this.cateDisplayname = cateDisplayname;
		this.cateType = cateType;
		this.cateIsshare = cateIsshare;
		this.cateIsredir = cateIsredir;
		this.cateIscreatedirbydate = cateIscreatedirbydate;
		this.cateIscontainsubcate = cateIscontainsubcate;
		this.cateStatus = cateStatus;
	}

	public Category(Integer cateId, Integer siteId, String cateName,
			String cateCode, Integer cateParentcateid, Integer cateIndex,
			Date catePubdate, Date cateExpdate, Integer cateIndextemplateid,
			Integer cateContenttemplateid, Integer cateListtemplateid,
			Long cateWorkflowid, String cateRemarks, String cateDisplayname,
			Integer cateImgid, String cateType, String cateIsshare,
			Integer catePrefiximgid, Integer cateSufiximgid, Integer cateLogoid,
			String cateIsredir, String cateRedirurl, String cateIscreatedirbydate,
			String cateIscontainsubcate, String cateStoredaysforinfo,
			String cateRelatedcatelist, String cateStatus,
			String cateIsusedinmap, String cateUniteliborgatherlib,
			String cateInfoexpproperties, String cateIsinsitemap,
			String cateIssupportrss, Integer oriCateid, String cateIslock,
			String isautoconverge, String isonlyshowforminfo) {
		this.cateId = cateId;
		this.siteId = siteId;
		this.cateName = cateName;
		this.cateCode = cateCode;
		this.cateParentcateid = cateParentcateid;
		this.cateIndex = cateIndex;
		this.catePubdate = catePubdate;
		this.cateExpdate = cateExpdate;
		this.cateIndextemplateid = cateIndextemplateid;
		this.cateContenttemplateid = cateContenttemplateid;
		this.cateListtemplateid = cateListtemplateid;
		this.cateWorkflowid = cateWorkflowid;
		this.cateRemarks = cateRemarks;
		this.cateDisplayname = cateDisplayname;
		this.cateImgid = cateImgid;
		this.cateType = cateType;
		this.cateIsshare = cateIsshare;
		this.catePrefiximgid = catePrefiximgid;
		this.cateSufiximgid = cateSufiximgid;
		this.cateLogoid = cateLogoid;
		this.cateIsredir = cateIsredir;
		this.cateRedirurl = cateRedirurl;
		this.cateIscreatedirbydate = cateIscreatedirbydate;
		this.cateIscontainsubcate = cateIscontainsubcate;
		this.cateStoredaysforinfo = cateStoredaysforinfo;
		this.cateRelatedcatelist = cateRelatedcatelist;
		this.cateStatus = cateStatus;
		this.cateIsusedinmap = cateIsusedinmap;
		this.cateUniteliborgatherlib = cateUniteliborgatherlib;
		this.cateInfoexpproperties = cateInfoexpproperties;
		this.cateIsinsitemap = cateIsinsitemap;
		this.cateIssupportrss = cateIssupportrss;
		this.oriCateid = oriCateid;
		this.cateIslock = cateIslock;
		this.isautoconverge = isautoconverge;
		this.isonlyshowforminfo = isonlyshowforminfo;
	}

	@Id
	@Column(name = "CATE_ID", unique = true, nullable = false, scale = 0,length=10)
	@TableGenerator(name = "tg_cms_category", pkColumnValue = "cms_category", table = "t_id_table", pkColumnName = "f_table", valueColumnName = "f_id_value", initialValue = 1, allocationSize = 1)
	@GeneratedValue(strategy = GenerationType.TABLE, generator = "tg_cms_category")
	public Integer getCateId() {
		return this.cateId;
	}

	public void setCateId(Integer cateId) {
		this.cateId = cateId;
	}
	
	
	@Column(name = "SITE_ID")
	public Integer getSiteId() {
		return this.siteId;
	}

	public void setSiteId(Integer siteId) {
		this.siteId = siteId;
	}

	@Column(name = "CATE_NAME",length=500)
	public String getCateName() {
		return this.cateName;
	}

	public void setCateName(String cateName) {
		this.cateName = cateName;
	}

	@Column(name = "CATE_CODE",length=20)
	public String getCateCode() {
		return this.cateCode;
	}

	public void setCateCode(String cateCode) {
		this.cateCode = cateCode;
	}

	
	@Column(name = "CATE_PARENTCATEID")
	public Integer getCateParentcateid() {
		return this.cateParentcateid;
	}

	public void setCateParentcateid(Integer cateParentcateid) {
		this.cateParentcateid = cateParentcateid;
	}

	@Column(name = "CATE_INDEX")
	public Integer getCateIndex() {
		return this.cateIndex;
	}

	public void setCateIndex(Integer cateIndex) {
		this.cateIndex = cateIndex;
	}

	
	@Column(name = "CATE_PUBDATE", length = 19)
	public Date getCatePubdate() {
		return this.catePubdate;
	}

	public void setCatePubdate(Date catePubdate) {
		this.catePubdate = catePubdate;
	}

	@Column(name = "CATE_EXPDATE", length = 19)
	public Date getCateExpdate() {
		return this.cateExpdate;
	}

	public void setCateExpdate(Date cateExpdate) {
		this.cateExpdate = cateExpdate;
	}

	
	@Column(name = "CATE_INDEXTEMPLATEID")
	public Integer getCateIndextemplateid() {
		return this.cateIndextemplateid;
	}

	public void setCateIndextemplateid(Integer cateIndextemplateid) {
		this.cateIndextemplateid = cateIndextemplateid;
	}

	
	@Column(name = "CATE_CONTENTTEMPLATEID")
	public Integer getCateContenttemplateid() {
		return this.cateContenttemplateid;
	}

	public void setCateContenttemplateid(Integer cateContenttemplateid) {
		this.cateContenttemplateid = cateContenttemplateid;
	}

	
	@Column(name = "CATE_LISTTEMPLATEID")
	public Integer getCateListtemplateid() {
		return this.cateListtemplateid;
	}

	public void setCateListtemplateid(Integer cateListtemplateid) {
		this.cateListtemplateid = cateListtemplateid;
	}

	@Column(name = "CATE_WORKFLOWID")
	public Long getCateWorkflowid() {
		return this.cateWorkflowid;
	}

	public void setCateWorkflowid(Long cateWorkflowid) {
		this.cateWorkflowid = cateWorkflowid;
	}

	@Column(name = "CATE_REMARKS",length=1000)
	public String getCateRemarks() {
		return this.cateRemarks;
	}

	public void setCateRemarks(String cateRemarks) {
		this.cateRemarks = cateRemarks;
	}

	@Column(name = "CATE_DISPLAYNAME",length=500)
	public String getCateDisplayname() {
		return this.cateDisplayname;
	}

	public void setCateDisplayname(String cateDisplayname) {
		this.cateDisplayname = cateDisplayname;
	}

	
	@Column(name = "CATE_IMGID")
	public Integer getCateImgid() {
		return this.cateImgid;
	}

	public void setCateImgid(Integer cateImgid) {
		this.cateImgid = cateImgid;
	}

	@Column(name = "CATE_TYPE",length=2)
	public String getCateType() {
		return this.cateType;
	}

	public void setCateType(String cateType) {
		this.cateType = cateType;
	}

	@Column(name = "CATE_ISSHARE",length=1)
	public String getCateIsshare() {
		return this.cateIsshare;
	}

	public void setCateIsshare(String cateIsshare) {
		this.cateIsshare = cateIsshare;
	}

	@Column(name = "CATE_PREFIXIMGID")
	public Integer getCatePrefiximgid() {
		return this.catePrefiximgid;
	}

	public void setCatePrefiximgid(Integer catePrefiximgid) {
		this.catePrefiximgid = catePrefiximgid;
	}

	@Column(name = "CATE_SUFIXIMGID")
	public Integer getCateSufiximgid() {
		return this.cateSufiximgid;
	}

	public void setCateSufiximgid(Integer cateSufiximgid) {
		this.cateSufiximgid = cateSufiximgid;
	}

	@Column(name = "CATE_LOGOID")
	public Integer getCateLogoid() {
		return this.cateLogoid;
	}

	public void setCateLogoid(Integer cateLogoid) {
		this.cateLogoid = cateLogoid;
	}

	@Column(name = "CATE_ISREDIR",length=1)
	public String getCateIsredir() {
		return this.cateIsredir;
	}

	public void setCateIsredir(String cateIsredir) {
		this.cateIsredir = cateIsredir;
	}

	@Column(name = "CATE_REDIRURL",length=500)
	public String getCateRedirurl() {
		return this.cateRedirurl;
	}

	public void setCateRedirurl(String cateRedirurl) {
		this.cateRedirurl = cateRedirurl;
	}

	@Column(name = "CATE_ISCREATEDIRBYDATE",length=1)
	public String getCateIscreatedirbydate() {
		return this.cateIscreatedirbydate;
	}

	public void setCateIscreatedirbydate(String cateIscreatedirbydate) {
		this.cateIscreatedirbydate = cateIscreatedirbydate;
	}

	@Column(name = "CATE_ISCONTAINSUBCATE",length=1)
	public String getCateIscontainsubcate() {
		return this.cateIscontainsubcate;
	}

	public void setCateIscontainsubcate(String cateIscontainsubcate) {
		this.cateIscontainsubcate = cateIscontainsubcate;
	}

	@Column(name = "CATE_STOREDAYSFORINFO",length=10)
	public String getCateStoredaysforinfo() {
		return this.cateStoredaysforinfo;
	}

	public void setCateStoredaysforinfo(String cateStoredaysforinfo) {
		this.cateStoredaysforinfo = cateStoredaysforinfo;
	}

	@Column(name = "CATE_RELATEDCATELIST",length=1000)
	public String getCateRelatedcatelist() {
		return this.cateRelatedcatelist;
	}

	public void setCateRelatedcatelist(String cateRelatedcatelist) {
		this.cateRelatedcatelist = cateRelatedcatelist;
	}

	@Column(name = "CATE_STATUS",length=1)
	public String getCateStatus() {
		return this.cateStatus;
	}

	public void setCateStatus(String cateStatus) {
		this.cateStatus = cateStatus;
	}

	@Column(name = "CATE_ISUSEDINMAP",length=1)
	public String getCateIsusedinmap() {
		return this.cateIsusedinmap;
	}

	public void setCateIsusedinmap(String cateIsusedinmap) {
		this.cateIsusedinmap = cateIsusedinmap;
	}

	@Column(name = "CATE_UNITELIBORGATHERLIB",length=1)
	public String getCateUniteliborgatherlib() {
		return this.cateUniteliborgatherlib;
	}

	public void setCateUniteliborgatherlib(String cateUniteliborgatherlib) {
		this.cateUniteliborgatherlib = cateUniteliborgatherlib;
	}

	@Column(name = "CATE_INFOEXPPROPERTIES",length=200)
	public String getCateInfoexpproperties() {
		return this.cateInfoexpproperties;
	}

	public void setCateInfoexpproperties(String cateInfoexpproperties) {
		this.cateInfoexpproperties = cateInfoexpproperties;
	}

	@Column(name = "CATE_ISINSITEMAP",length=1)
	public String getCateIsinsitemap() {
		return this.cateIsinsitemap;
	}

	public void setCateIsinsitemap(String cateIsinsitemap) {
		this.cateIsinsitemap = cateIsinsitemap;
	}

	@Column(name = "CATE_ISSUPPORTRSS",length=1)
	public String getCateIssupportrss() {
		return this.cateIssupportrss;
	}

	public void setCateIssupportrss(String cateIssupportrss) {
		this.cateIssupportrss = cateIssupportrss;
	}

	@Column(name = "ORI_CATEID")
	public Integer getOriCateid() {
		return this.oriCateid;
	}

	public void setOriCateid(Integer oriCateid) {
		this.oriCateid = oriCateid;
	}

	@Column(name = "CATE_ISLOCK",length=1)
	public String getCateIslock() {
		return this.cateIslock;
	}

	public void setCateIslock(String cateIslock) {
		this.cateIslock = cateIslock;
	}

	@Column(name = "ISAUTOCONVERGE",length=10)
	public String getIsautoconverge() {
		return this.isautoconverge;
	}

	public void setIsautoconverge(String isautoconverge) {
		this.isautoconverge = isautoconverge;
	}

	@Column(name = "ISONLYSHOWFORMINFO",length=10)
	public String getIsonlyshowforminfo() {
		return this.isonlyshowforminfo;
	}

	public void setIsonlyshowforminfo(String isonlyshowforminfo) {
		this.isonlyshowforminfo = isonlyshowforminfo;
	}
	
}
